﻿@import url('https://fonts.googleapis.com/css?family=Cairo:400,600,700');

body.rtl {
  font-family: 'Cairo', sans-serif;
}

.rtl {
  direction: rtl;
}

.rtl ul {
  padding: 0;
}

/* top menu */
.rtl section.content {
  margin: 55px 265px 15px 15px;
}

.rtl .sidebar {
  right: 0;
}

.rtl.ls-closed .sidebar {
  margin-right: -300px;
}

.rtl.overlay-open .sidebar {
  margin-right: 0;
}

.rtl .right-sidebar {
  left: -300px;
}

.rtl .right-sidebar.open {
  left: 0;
  right: auto;
}

/* top headre */
.rtl .navbar {
  z-index: 14;
}

.rtl .dropdown-menu ul.menu .menu-info {
  margin-right: 10px;
  margin-left: 0;
  text-align: right;
}

.rtl .dropdown-menu ul.menu li a {
  text-align: right;
}

.rtl .dropdown-menu ul.menu.tasks h4 small {
  float: left;
}

.rtl .navbar-header {
  float: right;
}

.rtl .navbar-nav {
  float: left !important;
}

.rtl .navbar-nav>li {
  float: right;
}

.rtl .navbar-right .dropdown-menu {
  right: auto;
  left: 0;
}

.rtl .navbar-nav>li>a {
  margin-top: 10px;
  margin-left: 0;
}

.rtl .logo {
  margin-right: 15px;
}

.rtl .navbar .dropdown-menu {
  margin-left: -70px;
}

/* main menu Css */
.rtl .sidebar .menu .user-info .admin-action-info {
  padding-right: 20px;
  padding-left: 0;
  text-align: right;
}

.rtl .sidebar .menu .user-info .admin-action-info>ul {
  float: right;
}

.rtl .sidebar .menu .user-info .admin-action-info>ul li {
  float: right;
  margin: 0;
}

.rtl .sidebar .menu .user-info .admin-action-info>span {
  float: none;
}

.rtl .sidebar .menu .list,
.rtl .sidebar .menu .list .ml-menu {
  padding: 0;
}

.rtl .sidebar .menu .list a span {
  margin: 7px 12px 7px 0px;
}

.rtl .sidebar .menu .list .menu-toggle:after, .rtl .sidebar .menu .list .menu-toggle:before {
  left: 17px;
}

.rtl .sidebar .active.open .active a:after,
.rtl .sidebar .menu .list .ml-menu li a:before {
  right: 18px;
  content: '';
  color: #ccc;
}

.rtl .sidebar .menu .list .ml-menu li a {
  padding-right: 42px;
  padding-left: 12px;
}

.rtl .sidebar .menu .list .menu-toggle:after,
.rtl .sidebar .menu .list .menu-toggle:before {
  right: 89%;
  color: #ccc;
}

/* setting menu right*/
.rtl .right-sidebar #settings .setting-list li .switch {
  left: 5px;
  right: inherit;
}

.rtl .right-sidebar #chat ul>li {
  padding: 10px 0px 10px 10px;
}

.rtl .right-sidebar #chat ul>li a {
  float: right !important;
  padding-left: 10px;
  padding-right: 0;
}

.rtl .right-sidebar #chat ul>li .media .media-body .status {
  right: inherit;
  left: 0px;
}

.rtl .activities .b-accent {
  border-right: 1px solid;
  border-left: none;
}

.rtl .activities .b-accent .sl-item:after {
  right: -6px;
  left: inherit;
}

.rtl .activities .b-accent .sl-item .sl-content {
  margin-left: 0;
  margin-right: 24px;
}

/*Card more dropdown */
.rtl .dropdown-menu.pull-right {
  left: 0;
  right: auto;
}


/*RTL Dashboard CSS ===============================*/
.rtl .card .header .header-dropdown {
  right: auto;
  left: 12px;
}

.rtl #line_chart {
  height: 370px !important;
}

.rtl .table thead tr th {
  text-align: right;
}
/*===============================*/

@media screen and (max-width: 1169px) {

  .rtl section.content {
    margin-right: 15px;
  }

  .rtl.ls-closed .bars:after,
 	.rtl.ls-closed .bars:before {
    right: 20px;
    left: auto;
  }

  .rtl .navbar>.container .navbar-brand,
 	.rtl .navbar>.container-fluid .navbar-brand {
    margin-right: 20px;
    margin-left: 0;
  }
}

@media screen and (max-width: 767px) {
  .rtl.ls-closed .bars:after, .rtl.ls-closed .bars:before {
    margin-right: 0;
  }
}